let mongoose = require('&/db')

let MenuSchema = mongoose.Schema({
  icon: String,
  url: String,
  name: String,
  menuId: String,
  orderNum: Number,
  parentId: String,
  parentName: String
})


let MenuModel = mongoose.model('Menu', MenuSchema, 'menu')

module.exports = MenuModel
